package com.youkeda.app.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;


/**
 * @author 刘正星
 * @version 1.0.0
 * @ClassName User.java
 * @Description TODO
 * @createTime 2020年09月30日 12:59:00
 */
@Data
public class User {
    private Long id;

    private String mobile;

    private Integer valid;

    private String nickname;

    private String avatar;

    private String password;

    private String gender;

    //创建时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreated;
    //修改时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModified;
}
